package threadlab;


public class PrintLettersRunnable1 implements Runnable {
    @Override
    public void run() {
        for(char c = 'A'; c <= 'J'; c++) {
            System.out.println(c);
        }
    }
    
    public static void main(String[] args) {
        PrintLettersRunnable1 runnable = new PrintLettersRunnable1();
        Thread thread = new Thread(runnable);
        thread.start();
    }
}